Skip to content

Jetpack 6 Support (WIP)#2

Draft
elliotberman wants to merge 40 commits into
refactor-for-jetpack6from
jetpack6
Draft

Jetpack 6 Support (WIP)#2
elliotberman wants to merge 40 commits into
refactor-for-jetpack6from
jetpack6

Conversation

@elliotberman

Copy link
Copy Markdown
Owner
Description of changes
Testing

@elliotberman elliotberman force-pushed the jetpack6 branch 2 times, most recently from a1f08c8 to 066d7c7 Compare May 7, 2025 22:12
@elliotberman elliotberman force-pushed the refactor-for-jetpack6 branch from f617aaa to 162f381 Compare May 7, 2025 22:12
@elliotberman elliotberman force-pushed the jetpack6 branch 2 times, most recently from 1d51f92 to eb38a56 Compare May 9, 2025 00:45
@elliotberman elliotberman force-pushed the refactor-for-jetpack6 branch from 162f381 to b48352b Compare May 9, 2025 00:45
@elliotberman elliotberman force-pushed the jetpack6 branch 2 times, most recently from f8f1521 to 397354d Compare May 9, 2025 22:31
@elliotberman elliotberman force-pushed the refactor-for-jetpack6 branch from b48352b to c2a088e Compare May 9, 2025 22:31
@elliotberman elliotberman force-pushed the refactor-for-jetpack6 branch from c2a088e to 706979c Compare May 9, 2025 22:59
@elliotberman elliotberman force-pushed the jetpack6 branch 6 times, most recently from 2b28a94 to 716575a Compare May 16, 2025 22:18
@elliotberman elliotberman force-pushed the jetpack6 branch 4 times, most recently from 2122cf8 to b75904a Compare May 20, 2025 22:08
@elliotberman elliotberman force-pushed the refactor-for-jetpack6 branch from 706979c to e6d5667 Compare May 28, 2025 02:32
@elliotberman elliotberman force-pushed the refactor-for-jetpack6 branch from e6d5667 to dc54c12 Compare June 17, 2025 17:39
@elliotberman elliotberman force-pushed the refactor-for-jetpack6 branch from dc54c12 to c83943f Compare June 20, 2025 23:03
@elliotberman elliotberman force-pushed the refactor-for-jetpack6 branch from c83943f to 9553364 Compare June 25, 2025 21:58
PAC/BTI must be enabled to boot Arm Trusted Firmware.
An additional line needs to be removed from the l4t_bup_gen.func and
tegrahost_v2 is no longer present (or needed) for flashing.
Some directories are present, but empty. Only do the mv if there
are files present.
It is not present in r36, so only patch it if it's present.
In jetpack 6, libnvidia-ptxjitcompiler.so is suffixed with the CUDA
driver version, not the l4t version. Describe the CUDA driver version in
the overlay.nix and use it, if set.
In L4T r36, the "t186ref" directory is renamed to "generic". Handle it
with a variable.
USB OTG should work in Jetpack 6.
In jetpack 6, there are multiple csv files to describe the necessary
container context. The nvidia-ctk tool is not satisfied if the csv files
are simply concatenated. Install all the files and register both with
nvidia-ctk cdi generate.
In jetpack 6, flash.sh must be called with --sign argument. See
build_l4t_bup.sh.
A couple of patches to fixup the makefile and suppress a
-Wunused-result. cupti-samples also exports a shared object now, so
install that in $out/lib.
Jetpack 6 ships CUDA 12 and uses cudnn v9.
Minor patch no longer-applicable and hunk adjustments for jetpack 6.
Add additional build input dependencies needed only on jetpack 6 (cuda
12+).
CUDA no longer ships the cuda-samples source. Fetch and build it from
GitHub.
More drivers are modules now and erasesize sysfs is broken. Hard-code it
to 16384.

Link: OE4T/meta-tegra@106d558
This appears to be working, but the conftest doesn't work well with any
of the kernels I threw at it.
When booting off rootfs over USB, the USB drivers need to be probed.
Add the needed modules to get those drivers probed.
Describe support matrix for JetPack 6 and "gotchas" with keeping
firmware and kernel/rootfs aligned.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants